﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TaxiOnline.DAL.Models;
using TaxiOnline.DAL.Repositories;

namespace TaxiOnline.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            UserRepository rep = new UserRepository();
            ViewBag.Users = rep.GetAllUsers();

            return View();


        }
    }
}
